package com.csnf.servlet;

import com.csnf.dao.CoursesDao;
import com.csnf.entity.Courses;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/CoursesServlet")
public class CoursesServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        String servletPath = req.getServletPath();
        switch (servletPath){
            case "/getStudentById":

        }
        req.getRequestDispatcher("StudentList.jsp").forward(req, resp);
    }

}
